import React, { Component } from 'react';
import PubSub from 'pubsub-js'
import { meshLog, SPRemove, SPGet, SPSet } from '../../../config';
// import {Switch} from 'antd';
import './lighting.less'

export default class Lighting extends Component {
  constructor(a) {
    super(a);
    this.state = {

    }
  }
  componentWillUnmount() {

  }
  componentDidMount() {
    meshLog("wjk scheduleSet", this.state.scheduleSet);

  }
  render() {
    return (
      <div className="lighting" >
        <div className="lightingdaohang">
          <span className='lightingdaohangzuo' >位置： 智慧夜跑 》灯光互动</span>
          <span className='lightingdaohangyou'>导入数据</span>
        </div>
        <div className="lightingneirong">
          <div className="lightingneirong1" id="areaheight">
            <div className="lightingtitle">
              <div className="title1" >设备类型</div>
              <div className="title1">设备数量</div>
              <div className="title1">开/关</div>
            </div>
            <div className="titleshuju">
              <div className="title2" >灯具</div>
              <div className="title2">500</div>
              <div className="title2">开</div>
            </div>
            <div className="titleshuju">
              <div className="title2" >摄像头</div>
              <div className="title2">800</div>
              <div className="title2">关</div>
            </div>
            <div className="titleshuju">
              <div className="title2" >传感器</div>
              <div className="title2">5000</div>
              <div className="title2">关</div>
            </div>
          </div>
          <div className="lightingneirong2">
            <div className="quyutitle">
              <div className="quyu1" >区域</div>
              <div className="quyu1">设备数量</div>
              <div className="quyu1">开/关</div>
            </div>
            <div className="quyuhuju">
              <div className="quyu2" >区域01</div>
              <div className="quyu2">400</div>
              <div className="quyu2">关</div>
            </div>
            <div className="quyuhuju">
              <div className="quyu2" >区域01</div>
              <div className="quyu2">400</div>
              <div className="quyu2">关</div>
            </div>
            <div className="quyuhuju">
              <div className="quyu2" >区域01</div>
              <div className="quyu2">400</div>
              <div className="quyu2">关</div>
            </div>
            <div className="quyuhuju">
              <div className="quyu2" >区域01</div>
              <div className="quyu2">400</div>
              <div className="quyu2">关</div>
            </div>
            <div className="quyuhuju">
              <div className="quyu2" >区域01</div>
              <div className="quyu2">400</div>
              <div className="quyu2">关</div>
            </div>
            <div className="quyuhuju">
              <div className="quyu2" >区域01</div>
              <div className="quyu2">400</div>
              <div className="quyu2">关</div>
            </div>
            <div className="quyuhuju">
              <div className="quyu2" >区域01</div>
              <div className="quyu2">400</div>
              <div className="quyu2">关</div>
            </div>
          </div>
          <div className="lightingneirong3">
            <div className="xiangxi">
              <div className="xiangxititle" >区域01</div>
              <div className="xiangxikaiguan">关</div>
            </div>
          </div>
        </div>
      </div >
    )
  }
}
